<template>
  <div>
    <h1>许家展</h1>
    {{ form.abc }}
    {{ data.value }}
    <button @click="change">
      111
    </button>
    <van-field/>
  </div>
</template>

<script>
import {reactive, ref} from 'vue'
import axios from '../../http/axios'

export default {
  name: "index_1214",
  setup() {
    let form = reactive({'abc': 'xjz'})
    let data = ref('许家展')
    const change = () => {
      form.abc = '123'
      data.value = 'abc'
      axios('/test', 'get').then(res => {
        console.log(res)
      })
    }
    return {
      form,
      data,
      change
    }
  }
}
</script>

<style scoped>

</style>